$OpenBSD: patch-Axe_rules,v 1.1 2001/08/22 00:04:41 naddy Exp $
--- Axe.rules.orig	Wed Apr  6 18:07:33 1994
+++ Axe.rules	Tue Aug 21 02:43:48 2001
@@ -72,7 +72,7 @@ extension::								@@\
 #define InstallCoaxe(bindest)						@@\
 InstallProgram(coaxe,bindest)						@@\
 install::								@@\
-	if [ -f bindest/faxe ]; then set +x; \				@@\
-	else (cd bindest; set -x; $(LN) coaxe faxe); fi			@@\
-	if [ -f bindest/poleaxe ]; then set +x; \			@@\
-	else (cd bindest; set -x; $(LN) coaxe poleaxe); fi
+	if [ -f $(DESTDIR)bindest/faxe ]; then set +x; \		@@\
+	else (cd $(DESTDIR)bindest; set -x; $(LN) coaxe faxe); fi	@@\
+	if [ -f $(DESTDIR)bindest/poleaxe ]; then set +x; \		@@\
+	else (cd $(DESTDIR)bindest; set -x; $(LN) coaxe poleaxe); fi
